import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import API from './api/index'; 
import config from "./config/index"

import 'amfe-flexible/index.js'
import "./utils/axios"

// 解决移动端点击300ms延迟
import FastClick from 'fastclick'
FastClick.attach(document.body)

Vue.prototype.$API = API;
Vue.prototype.$config = config;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
